class AddColumnsToDimenTrunkGroupCarrier < ActiveRecord::Migration
  def self.up
    add_column :dimen_trunk_group_carriers, :src_carrier, :string
    add_column :dimen_trunk_group_carriers, :src_ip, :string
    add_column :dimen_trunk_group_carriers, :dimen_dest_vcb_id, :integer
    add_column :dimen_trunk_group_carriers, :trunk_group_col_name, :string
    add_column :dimen_trunk_group_carriers, :trunk_group_provider_name, :string
    add_column :dimen_trunk_group_carriers, :identifying_phone_number, :string
    add_column :dimen_trunk_group_carriers, :config_granularity_id, :integer
  end

  def self.down
    remove_column :dimen_trunk_group_carriers, :config_granularity_id
    remove_column :dimen_trunk_group_carriers, :identifying_phone_number
    remove_column :dimen_trunk_group_carriers, :trunk_group_provider_name
    remove_column :dimen_trunk_group_carriers, :trunk_group_col_name
    remove_column :dimen_trunk_group_carriers, :dimen_dest_vcb_id
    remove_column :dimen_trunk_group_carriers, :src_ip
    remove_column :dimen_trunk_group_carriers, :src_carrier
  end
end
